package com.coffee_shop_app.common;

import lombok.Data;

/**
 * pcr 通信业务
 */
@Data
public class MdData {
    private String pid; // 应用编号
    private Long time; // 当前的毫秒数 误差不超过3 分钟
    private String nonceStr; // 随机字符串  只需要传递一次
    private String params; // 具体的报文json字符串
    private String sign; // 通过签名规范生成的签名
    private Integer vison; //版本控制

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public Long getTime() {
        return time;
    }

    public void setTime(Long time) {
        this.time = time;
    }

    public String getNonceStr() {
        return nonceStr;
    }

    public void setNonceStr(String nonceStr) {
        this.nonceStr = nonceStr;
    }

    public String getParams() {
        return params;
    }

    public void setParams(String params) {
        this.params = params;
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    public Integer getVison() {
        return vison;
    }

    public void setVison(Integer vison) {
        this.vison = vison;
    }
}
